package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 运输路线和承运商关系表
 * </p>
 *
 * @author caoYong
 * @since 2019-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_sto_carriage_route_detail")
@ApiModel(value="StoCarriageRouteDetail对象", description="运输路线和承运商关系表")
public class StoCarriageRouteDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "ROUTE_DETAIL_ID", type = IdType.UUID)
    private String routeDetailId;

    @ApiModelProperty(value = "承运商id")
    @TableField("CARRIER_ID")
    private String carrierId;

    @ApiModelProperty(value = "路线id")
    @TableField("ROUTE_ID")
    private String routeId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "版本")
    @TableField("VERSION")
    private Integer version;

    @ApiModelProperty(value = "是否发送(1是0否)")
    @TableField("IS_SEND")
    private Integer isSend;

    @ApiModelProperty(value = "是否作废(1是0否)")
    @TableField("IS_DEL")
    private Integer isDel;


}
